<template>
	<view>
		<view class="flex flex-y-center flex-x-between" v-for="(item,index) in list" :key="index">
			<view style="display: flex; align-items: center; ">
				<image :src="item.img"
					style="width: 100rpx; height: 100rpx; margin-left: 40rpx; margin-top: 18rpx;">
				</image>
				<view style="margin-left: 20rpx;">
					<view style="font-weight: 700; ">{{item.title}}</view>
					<view style="font-size: 14rpx; color: rgba(128, 128, 128, 0.8);">{{item.msg}}</view>
				</view>
			</view>
			<view style="display: flex;">
				<button class="btn">{{item.btn}}</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			list:{
				type:Array,
				default:function(){
					return []
				}
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.page {
		width: 100%;

		.date {
			color: #808080;
			font-size: 23rpx;
			margin-top: 48rpx;
			margin-left: 40rpx;
		}

		.btn {
			width: 148rpx;
			height: 60rpx;
			border-radius: 33px;
			font-size: 14px;
			line-height: 60rpx;
			text-align: center;
			color: rgba(42, 130, 228, 1);
			margin-right: 45rpx;
		}

		.title {
			width: 670rpx;
			margin: 20rpx auto;

			.left {
				color: rgba(0, 0, 0, 1);
				font-size: 68rpx;
				font-weight: bold;
			}

			.right {
				width: 72rpx;
				height: 72rpx;

				.img {
					width: 100%;
					height: 100%;
					border-radius: 38rpx;
				}
			}
		}

		.list {
			width: 100%;

			.card {
				width: 670rpx;
				height: 819rpx;
				border-radius: 23px;
				margin: 20rpx auto 60rpx;
				box-shadow: 0px 35px 35px 0px rgba(153, 153, 153, 0.2);
				position: relative;
				overflow: hidden;
				background: #fff;

				.picture {
					z-index: 1;
					width: 100%;
					height: 100%;
					position: absolute;
				}

				.subtitle {
					font-size: 32rpx;
					color: #808080;
					margin-top: 22rpx;
					margin-left: 40rpx;
					z-index: 10;
					position: relative;
				}

				.title {
					width: 348rpx;
					font-size: 58rpx;
					color: #383838;
					margin-top: 10rpx;
					margin-left: 40rpx;
					z-index: 10;
					position: relative;
				}

				.titles {
					width: 432rpx;
					color: rgba(0, 0, 0, 1);
					margin-top: 10rpx;
					margin-left: 40rpx;
					font-size: 23px;
					font-weight: bold;
					z-index: 10;
					position: relative;
				}

				// --------------------------
				.swiper {
					width: 100%;
					min-height: 580rpx;
					margin-top: 80rpx;

					.swiper-item {
						width: max-content;
						height: 100%;
						position: relative;

						.wrap {
							position: relative;
							transition: all;
							width: max-content;
							height: 152rpx;
							margin-bottom: 20rpx;

							image {
								width: 152rpx;
								height: 152rpx;
								border-radius: 38rpx;
								margin-right: 20rpx;
							}
						}

						.two {
							left: -76rpx;
						}

						// .one{
						// 	// animation: move 10s ;
						// 	animation-name: move;
						// 	animation-duration: 80s;
						// 	animation-timing-function: linear;
						// 	animation-delay: 0s;
						// 	animation-iteration-count: infinite;
						// 	animation-direction: normal;
						// 	animation-play-state: running;
						// }
					}
				}

				.bottom {
					position: relative;
					left: 54rpx;
					top: 567rpx;
					color: #FFFFFF;
				}

			}
		}
	}
</style>
